<?php
/**
 * Created by PhpStorm.
 * User: geek
 * Date: 16/4/8
 * Time: 下午12:28
 */
$username=$_POST["username"];
echo $username;
?>

<?php

echo "../controller/save.php?username=";
echo'<script language="JavaScript">document.write(document.getElementById("username").value); </script>';
echo "&password=";
echo'<script language="JavaScript">document.write(document.getElementById("password").value); </script>';

echo "&email=";
echo'<script language="JavaScript">document.write(document.getElementById("email").value); </script>';

echo '&mobilephone=';
echo'<script language="JavaScript">document.write(document.getElementById("mobilephone").value); </script>';

echo '&tablename=';
echo $table;
?>
